projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13c258f
)
Block extended events to windows that didn't select them.
author
Carlos Garnacho
<carlos@gnome.org>
Mon, 21 Sep 2009 00:24:32 +0000
(
02:24
+0200)
committer
Alexander Larsson
<alexl@redhat.com>
Mon, 21 Sep 2009 18:04:22 +0000
(20:04 +0200)
Now XSelectExtensionEvent() is called on the native window, so there
may be virtual windows inside that shouldn't receive extended events.
https://bugzilla.gnome.org/show_bug.cgi?id=588649
gdk/x11/gdkinput-xfree.c
patch
|
blob
|
history
diff --git
a/gdk/x11/gdkinput-xfree.c
b/gdk/x11/gdkinput-xfree.c
index 10fd33d919d8aa15e533b490c6a37cc935cac7ca..24a87f459feadda27799e1eb9209058180dffc1e 100644
(file)
--- a/
gdk/x11/gdkinput-xfree.c
+++ b/
gdk/x11/gdkinput-xfree.c
@@
-272,6
+272,7
@@
_gdk_input_other_event (GdkEvent *event,
return FALSE;
if (gdkdev->info.mode == GDK_MODE_DISABLED ||
+ priv->extension_events == 0 ||
!(gdkdev->info.has_cursor || (priv->extension_events & GDK_ALL_DEVICES_MASK)))
return FALSE;